FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
MAINTAINER xc
LABEL description="ThresholdAssistant.WebAPI"
LABEL version="1.0"
WORKDIR /app
COPY . .
ENTRYPOINT ["dotnet","ThresholdAssistant.WebAPI.dll"]


#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

#FROM mcr.microsoft.com/dotnet/aspnet:3.1 AS base
#WORKDIR /app
#EXPOSE 8080
#
#FROM mcr.microsoft.com/dotnet/sdk:3.1 AS build
#WORKDIR /src
#COPY . .
#WORKDIR "/src/ThresholdAssistant.WebAPI"
#
#RUN dotnet publish "ThresholdAssistant.WebAPI.csproj" -c Release -o /app/publish
#
#FROM base AS final
#WORKDIR /app
#COPY --from=build /app/publish .
#ENTRYPOINT ["dotnet", "ThresholdAssistant.WebAPI.dll"]